package com.gb.models.user.dao;


import com.gb.models.user.model.SysUserTokenEntity;
import tk.mybatis.mapper.common.Mapper;

/**
 * 系统用户Token
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-03-23 15:22:07
 */
public interface SysUserTokenDao {
    
    SysUserTokenEntity selectByUserId(Long userId);

    SysUserTokenEntity queryByToken(String token);

    int save(SysUserTokenEntity entity);

    int update(SysUserTokenEntity entity);
	
}
